﻿#ifndef QSTRINGEX_H
#define QSTRINGEX_H
#include <QString>
class QStringEx
{
public:
    QStringEx();
	static void    toUtf8(char *str);
	static void    fromUtf8(char *str);
	static QString fromNetFileNameLocal8Bit(const char * str, int size=-1);
    static QString fromLocal8Bit(const char * str, int size = -1);
    static QString fromDBString(const char * str, int size = -1);
    static const char* dbStrToLocalconst(const char * str, int size = -1);
    static char* dbStrToLocal(const char * str, int size = -1);
};

#endif // QSTRINGEX_H
